﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace VisionCloud.Core.Model.Ms
{
    [Table("MsTaskDotCloud")]
    public partial class MsTaskDotCloud : BaseEntity
    {
        /// <summary>
        /// 文件ID
        /// </summary>
        [Key]
        public Guid FileId { get; set; }

        /// <summary>
        /// 任务ID
        /// </summary>
        public Guid TaskId { get; set; }

        /// <summary>
        /// 点云名称
        /// </summary>
        public string FileName { get; set; }

        /// <summary>
        /// 工程阶段
        /// </summary>
        public string ProjectStage { get; set; }

        /// <summary>
        /// 点云文件路径
        /// </summary>
        public string DotCloudFilePath { get; set; }

        /// <summary>
        /// 项目ID
        /// </summary>
        public Guid ProjectId { get; set; }

        /// <summary>
        /// 文件类型：1实测点云，2墙面点云
        /// </summary>
        public int FileType { get; set; }

        /// <summary>
        /// 是否已读：true是，false否
        /// </summary>
        public bool IsRead { get; set; }

        /// <summary>
        /// 站点
        /// </summary>
        public string Site { get; set; }

        /// <summary>
        /// 墙面
        /// </summary>
        public string WallSpace { get; set; }

        /// <summary>
        /// 压缩包存放地址
        /// </summary>
        public string DotCloudZipPath { get; set; }

        /// <summary>
        /// 自检或巡检
        /// </summary>
        public string TaskTypeName { get; set; }

        /// <summary>
        /// 计算状态：1未计算，2计算成功，3计算失败，4报告生成成功，5报告生成失败，99点云不存在
        /// </summary>
        public int? ComputeStatus { get; set; }

        /// <summary>
        /// 计算失败的信息
        /// </summary>
        public string ComputeMessage { get; set; }
    }
}